var express           = require('express');
var multipart = require('connect-multiparty');
var projectController   = require('./api/v1/project');
var serviceController   = require('./api/v1/service');


var multipartMiddleware = multipart();

var router            = express.Router();

// 项目列表
router.get('/project/list', projectController.projectList);
// 项目详情
router.get('/project/detail', projectController.projectdetail);
// 项目类型
router.get('/project/kind', projectController.projectKind);
// 项目图片
router.get('/project/image', projectController.projectImage);

// 服务列表
router.get('/service/list', serviceController.serviceList);
// 服务类型
router.get('/service/kind', serviceController.serviceKind);

module.exports = router;
